﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.EXCERCISES.EXCERCISE_02
{
    class Toyota
    {
        string VanhDucHopKim, DenPha, CanGat, XyLanh, TieuThu, NongDoKhiThai;

        public string NONGDO
        {
            get { return NongDoKhiThai; }
            set { NongDoKhiThai = value; }
        }

        public string TIEUTHU
        {
            get { return TieuThu; }
            set { TieuThu = value; }
        }

        public string XYLANH
        {
            get { return XyLanh; }
            set { XyLanh = value; }
        }

        public string CANGAT
        {
            get { return CanGat; }
            set { CanGat = value; }
        }

        public string DENPHA
        {
            get { return DenPha; }
            set { DenPha = value; }
        }

        public string VANHDUC
        {
            get { return VanhDucHopKim; }
            set { VanhDucHopKim = value; }
        }
        bool DieuHoa;

        public bool DIEUHOA
        {
            get { return DieuHoa; }
            set { DieuHoa = value; }
        }

      

        public Toyota(string vanhduchopkim, string denpha, string cangat, string xylanh, string tieuthu, string nongdokhithai, bool dieuhoa)

        {
            VanhDucHopKim = vanhduchopkim;
            DenPha = denpha;
            CanGat = cangat;
            XyLanh = xylanh;
            TieuThu = tieuthu;
            NongDoKhiThai = nongdokhithai;
            DieuHoa = dieuhoa;
        }
    }
}
